<?php

class Matriculas_Model extends CI_Model {

    
    function getMatriculas($id_matr) {
        $this->db->distinct();
        $this->db->from('matriculas');
        $this->db->where('id_matr', $id_matr);
        $query = $this->db->get();
        $data = $query->row_array();
        $query->free_result();
        return $data;
    }
}

